package com.yami.shop.service;

import org.springframework.http.ResponseEntity;

/**
 * 新浪短链接服务接口
 */
public interface SinaShortUrlService {
    
    /**
     * 生成短链接
     * 
     * @param longUrl 长链接
     * @return 短链接
     */
    ResponseEntity<String> generateShortUrl(String longUrl);
    
    /**
     * 批量生成短链接
     * 
     * @param longUrls 长链接数组
     * @return 短链接数组
     */
    ResponseEntity<String[]> batchGenerateShortUrl(String[] longUrls);
} 